/*
 *  Copyright (C) 2009 Dominik Psenner
 * 
 *   This file is part of WebDAV4JD.
 *
 *  WebDAV4JD is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  WebDAV4JD is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with project-blog.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
package com.lab9.webdav4jd.api.impl;

import com.lab9.webdav4jd.api.Node;
import com.lab9.webdav4jd.api.properties.NodeType;
import com.lab9.webdav4jd.api.properties.Status;

/**
 * @author dominik
 * 
 */
public class NodeImpl implements Node {
	
	private String comment;
	
	private String creator;
	
	private NodeType nodeType;
	
	private long revision;
	
	private Status status;
	
	/**
	 * {@inheritDoc}
	 */
	@Override
	public String getComment() {
		return comment;
	}
	
	/**
	 * {@inheritDoc}
	 */
	@Override
	public String getCreator() {
		return creator;
	}
	
	/**
	 * {@inheritDoc}
	 */
	@Override
	public NodeType getNodeType() {
		return nodeType;
	}
	
	/**
	 * {@inheritDoc}
	 */
	@Override
	public long getRevision() {
		return revision;
	}
	
	/**
	 * {@inheritDoc}
	 */
	@Override
	public Status getStatus() {
		return status;
	}
	
	/**
	 * @param comment
	 *            the comment to set
	 */
	public void setComment(final String comment) {
		this.comment = comment;
	}
	
	/**
	 * @param creator
	 *            the creator to set
	 */
	public void setCreator(final String creator) {
		this.creator = creator;
	}
	
	/**
	 * @param nodeType
	 *            the nodeType to set
	 */
	public void setNodeType(final NodeType nodeType) {
		this.nodeType = nodeType;
	}
	
	/**
	 * @param revision
	 *            the revision to set
	 */
	public void setRevision(final long revision) {
		this.revision = revision;
	}
	
	/**
	 * @param status
	 *            the status to set
	 */
	public void setStatus(final Status status) {
		this.status = status;
	}
	
}
